![]() |
ALMaSS
1.0
The Animal, Landscape and Man Simulation System
|
The main source code for the newt population manager classes More...
#include <string.h>
#include <iostream>
#include <fstream>
#include <vector>
#include "../BatchALMaSS/ALMaSS_Setup.h"
#include "../ALMaSSDefines.h"
#include "../Landscape/ls.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "../BatchALMaSS/AOR_Probe.h"
#include "../Newt/Newt.h"
#include "../Newt/Newt_Population_Manager.h"
Variables | |
CfgBool | cfg_RipleysOutput_used |
CfgBool | cfg_ReallyBigOutput_used |
CfgBool | cfg_AOROutput_used |
static CfgFloat | cfg_NewtEggDevelTotal ("NEWT_EGG_DEVELTOTAL", CFG_CUSTOM, 900) |
Newt model input parameter - The sum of day degrees above NEWT_EGG_DEVELTHRESHOLD before an egg hatches. Default value is 900 fitted to T.carnifex data from D'Amesn et al (2007), but adjusted to get the correct development rate. More... | |
static CfgFloat | cfg_NewtEggDevelDDParameter ("NEWT_EGG_DEVELDDPARAMETER", CFG_CUSTOM, -0.534) |
Newt model input parameter - The temperature slope for egg development change with temperature. Default value is -0.534 fitted to T.carnifex data from D'Amesn et al (2007). More... | |
static CfgFloat | cfg_NewtJuvenileDevelSize ("NEWT_JUVENILE_DEVELSIZE", CFG_CUSTOM, 42.0+21.9) |
Newt model input parameter - the length needed to be achieved before a juvenile matures, from Baker (1998) More... | |
static CfgFloat | cfg_NewtJuvenileDailyLengthGain ("NEWT_JUVENILEDAILYLENGTHGAIN", CFG_CUSTOM, 0.047827) |
Newt model input parameter - If temperature is above the NEWT_DORMANCYTEMP the newt grows by this many mm per day and free-living stages can move. More... | |
static CfgFloat | cfg_NewtNARMortalityFactor ("NEWT_NAR_MORTALITYFACTOR", CFG_CUSTOM, 0.0016) |
Newt model input parameter - This is the per mm decrease in survival in non-aquatic rainfall (from Griffiths et al, 2010). More... | |
static CfgFloat | cfg_NewtWTMortalityFactor ("NEWT_WT_MORTALITYFACTOR", CFG_CUSTOM, 0.10) |
Newt model input parameter - This is the per degree decrease in survival in winter minimum temp (from Griffiths et al, 2010). More... | |
static CfgFloat | cfg_NewtRoadMortalityProb ("NEWT_ROADMORTALITYPROB", CFG_CUSTOM, 0.9/18.0) |
Newt model input parameter - Chance of mortality per road crossing (0.45 for typical road, 0.9 for busy road Hels&Buchwald 2001). This is divided by road width for small road 0.9/18, assuming it is a large busy road. More... | |
static CfgInt | cfg_NewtWalkSpeed ("ENWT_WALKSPEED", CFG_CUSTOM, 20) |
Newt model input parameter - This is the number of m moved per day. More... | |
static CfgInt | cfg_breedingseasonstart ("NEWT_BREEDINGSEASONSTART", CFG_CUSTOM, March) |
Newt model input parameter - First possible breeding season date Griffiths et al (2010) & Langton et al (2001) More... | |
static CfgInt | cfg_breedingseasonend ("NEWT_BREEDINGSEASONEND", CFG_CUSTOM, June) |
Newt model input parameter - Last possible breeding season date Griffiths et al (2010) & Langton et al (2001) More... | |
static CfgInt | cfg_NewtAdultLifespan ("NEWT_ADULTLIFESPAN", CFG_CUSTOM, 365 *14) |
Newt model input parameter - The maximum lifespan in days for an adult (including egg and larval stages), set at 14 yrs (Francillon-Vieillot et al, 1990) More... | |
static CfgFloat | cfg_newtdormancytemp ("NEWT_DORMANCYTEMP", CFG_CUSTOM, 22.5) |
Newt model input parameter - The temperature at which freeliving stages are dormant (do not move more than within their current 1m cell). Summed over previous 5 days. Default value based on Langton et al (2001) More... | |
static CfgInt | cfg_newteggproductionvolume ("NEWT_EGGPRODUCTIONVOLUME", CFG_CUSTOM, 100) |
Newt model input parameter - Total number of eggs produced per breeding season Default value is 200 based on Arntzen & Teunis 1993, but halved because Macgregor, H. C. and H. Horner (1980) suggests 50% are non-viable. More... | |
static CfgInt | cfg_newtdailyeggproductionvolume ("NEWT_EGGDAILYPRODUCTIONVOLUME", CFG_CUSTOM, 5) |
Newt model input parameter - The number of eggs laid per day when breeding. Estimated based on Langton et al (2001) More... | |
static CfgFloat | cfg_NewtLarvaDevelThresholdUpperSz ("NEWT_LARVA_DEVELTHRESHOLDUPPERSZ", CFG_CUSTOM, 42.3) |
Newt model input parameter - the upper size at which larvae will undergo metamorphosis. More... | |
static CfgFloat | cfg_NewtLarvaDailyGrowthIncrement ("NEWT_LARVA_DAILYGROWTHINCREMENT", CFG_CUSTOM,(42.3 - 1.0)/(12 *7.0)) |
Newt model input parameter - the daily increment assuming a linear growth model to the juvenile start length. Is 42mm - start length of 1mm divided by 12 development weeks. More... | |
static CfgFloat | cfg_NewtLarvaDevelThresholdTime ("NEWT_LARVA_DEVELTHRESHOLDTIME", CFG_CUSTOM, 12 *7) |
Newt model input parameter - the development time at which the larva will undergo metamorphosis if its size is between cfg_NewtLarvaDevelThresholdUpperSz and cfg_NewtLarvaDevelThresholdLowerSz thresholds. More... | |
static CfgFloat | cfg_newtdormancyhumidity ("NEWT_DORMANCYHUMIDITY", CFG_CUSTOM, 0.003125) |
Newt model input parameter - The preciptitation needed for newt movement (over last two days) More... | |
static CfgFloat | cfg_newtgoodhabitatdispersalprob ("NEWT_GOODHABITATDISPPROB", CFG_CUSTOM, 0.25, 0.0, 1.0) |
Newt model input parameter - The daily probability of dispersal in good habitat if weather is suitable (temp and precipication). Needed to be set to keep 64% of newts within 20 m of the pond (Jehle & Arntzen, 2000) and 95% within 50m (Jehle, 2000) More... | |
static CfgFloat | cfg_newtpoorhabitatdispersalprob ("NEWT_POORHABITATDISPPROB", CFG_CUSTOM, 1.0) |
Newt model input parameter - The daily probability of dispersal in poor habitat if weather is suitable (temp and precipication). habitat preference (LOCS/AREA 0.5 for open 9.5 for hedgerow) (Jehle & Arntzen, 2000) More... | |
static CfgFloat | cfg_NewtEggMortalityChance ("NEWT_EGG_MORTALITYCHANCE", CFG_CUSTOM, 0.048) |
Newt model input parameter - Daily egg mortality probability, fitted to 75% mortality by 4 weeks. More... | |
static CfgFloat | cfg_NewtLarvaMortalityChance ("NEWT_LARVAL_MORTALITYCHANCE", CFG_CUSTOM, 0.015) |
Newt model input parameter - Daily larval mortality probability, excluding density dependent mortality. Fitted to 5% survival from egg to juvenile stage. More... | |
static CfgFloat | cfg_LarvalFoodProportion ("NEWT_LARVALFOODPROPCONST", CFG_CUSTOM, 0.01) |
Newt model input parameter - This multiplied by its age is the larval food consumption g of food per day. More... | |
static CfgFloat | cfg_NewtEggPPPToxTrigger ("NEWT_EGG_PPP_TOX_TRIGGER", CFG_CUSTOM, 9999.999) |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in embryonic newts. More... | |
static CfgFloat | cfg_NewtLarvaPPPToxTrigger ("NEWT_LARVA_PPP_TOX_TRIGGER", CFG_CUSTOM, 9999.999) |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in larval newts. More... | |
static CfgFloat | cfg_NewtJuvenilePPPToxTrigger_EnvConc ("NEWT_JUVENILE_PPP_TOX_TRIGGER_ENVCONC", CFG_CUSTOM, 9999.999) |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in juvenile newts. More... | |
static CfgFloat | cfg_NewtJuvenilePPPToxTrigger_Overspray ("NEWT_JUVENILE_PPP_TOX_TRIGGER_ENVCONC", CFG_CUSTOM, 9999.999) |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in juvenile newts for overspray. More... | |
static CfgFloat | cfg_NewtAdultPPPToxTrigger ("NEWT_ADULT_PPP_TOX_TRIGGER", CFG_CUSTOM, 9999.999) |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in adult newts. More... | |
static CfgFloat | cfg_NewtEggPPPToxEliminationRate ("NEWT_EGG_PPP_TOX_ELIMINATIONRATE", CFG_CUSTOM, 0.0) |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in embryonic newts. More... | |
static CfgFloat | cfg_NewtLarvaPPPToxEliminationRate ("NEWT_LARVA_PPP_TOX_ELIMINATIONRATE", CFG_CUSTOM, 0.0) |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in larval newts. More... | |
static CfgFloat | cfg_NewtJuvenilePPPToxEliminationRate ("NEWT_JUVENILE_PPP_TOX_ELIMINATIONRATE", CFG_CUSTOM, 0.0) |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in juvenile newts. More... | |
static CfgFloat | cfg_NewtAdultPPPToxEliminationRate ("NEWT_ADULT_PPP_TOX_ELIMINATIONRATE", CFG_CUSTOM, 0.0) |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in adult newts. More... | |
static CfgFloat | cfg_NewtEggPPPEffectProbability ("NEWT_EGG_PPP_TOX_EFFECTPROBABILITY", CFG_CUSTOM, 0.0) |
Pesticide input parameter - daily probability of mortality if above a trigger dose. More... | |
static CfgFloat | cfg_NewtLarvaPPPEffectProbability ("NEWT_LARVA_PPP_TOX_EFFECTPROBABILITY", CFG_CUSTOM, 0.0) |
Pesticide input parameter - daily probability of mortality if above a trigger dose. More... | |
static CfgFloat | cfg_NewtJuvenilePPPEffectProbability_EnvConc ("NEWT_JUV_PPP_TOX_EFFECTPROBABILITY_ENVCONC", CFG_CUSTOM, 0.0) |
Pesticide input parameter - daily probability of mortality if above a trigger dose. More... | |
static CfgFloat | cfg_NewtJuvenilePPPEffectProbability_Overspray ("NEWT_JUV_PPP_TOX_EFFECTPROBABILITY_OVERSPRAY", CFG_CUSTOM, 0.0) |
Pesticide input parameter - daily probability of mortality if above a trigger dose. More... | |
static CfgFloat | cfg_NewtAdultPPPEffectProbability ("NEWT_ADULT_PPP_TOX_EFFECTPROBABILITY", CFG_CUSTOM, 0.0) |
Pesticide input parameter - daily probability of mortality if above a trigger dose. More... | |
static CfgInt | cfg_NewtWalkStepsize ("NEWT_WALKSSTEPSIZE", CFG_CUSTOM, 1) |
Newt model input parameter - This is the step size the newt can take in the model (can be set >1 to speed model up) More... | |
static CfgFloat | cfg_NewtLarvaDevelThresholdLowerSz ("NEWT_LARVA_DEVELTHRESHOLDLOWERSZ", CFG_CUSTOM, 42.3) |
Newt model input parameter - the lower size at which larvae CANNOT undergo metamorphosis. More... | |
static CfgInt | cfg_newt_startnumber ("NEWT_STARTNUMBER", CFG_CUSTOM, 1000) |
The starting numbers for male and female newts. More... | |
static CfgBool | cfg_Newt_Test_Pesticide_Egg ("NEWT_TEST_PESTICIDE_EGG", CFG_CUSTOM, false) |
Denotes whether pesticide testing mode is active for eggs - needs to be set to true to evaluate PPP impacts. More... | |
static CfgBool | cfg_Newt_Test_Pesticide_Larva ("NEWT_TEST_PESTICIDE_LARVA", CFG_CUSTOM, false) |
Denotes whether pesticide testing mode is active for larvae - needs to be set to true to evaluate PPP impacts. More... | |
static CfgBool | cfg_Newt_Test_Pesticide_Terrestrial ("NEWT_TEST_PESTICIDE_TERRESTRIAL", CFG_CUSTOM, false) |
Denotes whether pesticide testing mode is active for adults - needs to be set to true to evaluate PPP impacts. More... | |
The main source code for the newt population manager classes
Version of 1 January 2016
By Chris J. Topping
|
extern |
|
static |
Newt model input parameter - Last possible breeding season date Griffiths et al (2010) & Langton et al (2001)
Referenced by Newt_Population_Manager::DoFirst().
|
static |
Newt model input parameter - First possible breeding season date Griffiths et al (2010) & Langton et al (2001)
Referenced by Newt_Population_Manager::DoFirst().
|
static |
Newt model input parameter - This multiplied by its age is the larval food consumption g of food per day.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
The starting numbers for male and female newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Denotes whether pesticide testing mode is active for eggs - needs to be set to true to evaluate PPP impacts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Denotes whether pesticide testing mode is active for larvae - needs to be set to true to evaluate PPP impacts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Denotes whether pesticide testing mode is active for adults - needs to be set to true to evaluate PPP impacts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - The maximum lifespan in days for an adult (including egg and larval stages), set at 14 yrs (Francillon-Vieillot et al, 1990)
|
static |
Pesticide input parameter - daily probability of mortality if above a trigger dose.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in adult newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in adult newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - The number of eggs laid per day when breeding. Estimated based on Langton et al (2001)
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - The preciptitation needed for newt movement (over last two days)
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - The temperature at which freeliving stages are dormant (do not move more than within their current 1m cell). Summed over previous 5 days. Default value based on Langton et al (2001)
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - The temperature slope for egg development change with temperature. Default value is -0.534 fitted to T.carnifex data from D'Amesn et al (2007).
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - The sum of day degrees above NEWT_EGG_DEVELTHRESHOLD before an egg hatches. Default value is 900 fitted to T.carnifex data from D'Amesn et al (2007), but adjusted to get the correct development rate.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - Daily egg mortality probability, fitted to 75% mortality by 4 weeks.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - daily probability of mortality if above a trigger dose.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in embryonic newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in embryonic newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - Total number of eggs produced per breeding season Default value is 200 based on Arntzen & Teunis 1993, but halved because Macgregor, H. C. and H. Horner (1980) suggests 50% are non-viable.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - The daily probability of dispersal in good habitat if weather is suitable (temp and precipication). Needed to be set to keep 64% of newts within 20 m of the pond (Jehle & Arntzen, 2000) and 95% within 50m (Jehle, 2000)
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - If temperature is above the NEWT_DORMANCYTEMP the newt grows by this many mm per day and free-living stages can move.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - the length needed to be achieved before a juvenile matures, from Baker (1998)
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - daily probability of mortality if above a trigger dose.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - daily probability of mortality if above a trigger dose.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in juvenile newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in juvenile newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in juvenile newts for overspray.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - the daily increment assuming a linear growth model to the juvenile start length. Is 42mm - start length of 1mm divided by 12 development weeks.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - the lower size at which larvae CANNOT undergo metamorphosis.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - the development time at which the larva will undergo metamorphosis if its size is between cfg_NewtLarvaDevelThresholdUpperSz and cfg_NewtLarvaDevelThresholdLowerSz thresholds.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - the upper size at which larvae will undergo metamorphosis.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - Daily larval mortality probability, excluding density dependent mortality. Fitted to 5% survival from egg to juvenile stage.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - daily probability of mortality if above a trigger dose.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - One minus the proportion of internal PPP eliminated each day in larval newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Pesticide input parameter - the mg of pesticicde assumed to trigger a response in larval newts.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - This is the per mm decrease in survival in non-aquatic rainfall (from Griffiths et al, 2010).
Referenced by Newt_Population_Manager::SetFreeLivingMortChance().
|
static |
Newt model input parameter - The daily probability of dispersal in poor habitat if weather is suitable (temp and precipication). habitat preference (LOCS/AREA 0.5 for open 9.5 for hedgerow) (Jehle & Arntzen, 2000)
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - Chance of mortality per road crossing (0.45 for typical road, 0.9 for busy road Hels&Buchwald 2001). This is divided by road width for small road 0.9/18, assuming it is a large busy road.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - This is the number of m moved per day.
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - This is the step size the newt can take in the model (can be set >1 to speed model up)
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
static |
Newt model input parameter - This is the per degree decrease in survival in winter minimum temp (from Griffiths et al, 2010).
Referenced by Newt_Population_Manager::SetFreeLivingMortChance().
|
extern |
Referenced by Newt_Population_Manager::Newt_Population_Manager().
|
extern |
Referenced by Newt_Population_Manager::Newt_Population_Manager().